package pojo;

public class student {
    private int Sno;
    private String Sname;
    private String Ssex;
    private int Sage;
    private String Sdept;
    public int getSno() {
        return Sno;
    }
    public void setSno(int Sno) {
        this.Sno = Sno;
    }
    public String getSname() {
        return Sname;
    }
    public void setSname(String Sname) {
        this.Sname = Sname;
    }
    public String getSex() {
        return Ssex;
    }
    public void setSex(String sex) {
        this.Ssex = sex;
    }
    public int getSage() {

        return Sage;
    }
    public void setSage(int sage) {
        this.Sage = sage;
    }
    public String getSdept() {
        return Sdept;
    }
    public void setSdept(String sdept) {
        this.Sdept = sdept;
    }
    @Override
    public String toString() {
        return "student [sno="
                + Sno + ", sname=" + Sname + ", sex=" + Ssex + ", sage=" + Sage + ", sdept=" + Sdept
                + "]\n";
    }
}
